Skip to main content

Terminal Access

Atmosly provides a built-in web terminal that allows you to execute commands directly on pods within your Kubernetes cluster — without needing local kubectl access.


Overview

The terminal feature provides secure, audited shell access to your cluster's pods through the Atmosly console. Each terminal connection creates a tracked session with full audit logging.


Starting a Terminal Session

  1. Navigate to the desired Cluster.
  2. Go to the Pods section or select a specific workload.
  3. Click on the Terminal icon next to the pod you want to connect to.
  4. Select the Namespace, Pod, and Container (if the pod has multiple containers).
  5. A web-based terminal session opens with shell access to the selected container.

Session Management

Each terminal session is tracked with the following details:

FieldDescription
Session IDUnique identifier for the terminal session
ClusterThe cluster the session is connected to
NamespaceKubernetes namespace of the target pod
PodName of the connected pod
ContainerSpecific container within the pod (if multi-container)
UserThe Atmosly user who initiated the session
Cluster TypeWhether the cluster is public or private
StatusActive or expired
Last ActivityTimestamp of the last interaction

Session Expiration

  • Sessions have a configurable expiration time.
  • Idle sessions (no activity for 5 minutes) are automatically flagged.
  • Expired sessions are terminated and cannot be resumed.

Audit Logging

All terminal sessions are fully audited. The following actions are recorded:

ActionDescription
connectUser connected to the terminal session
disconnectUser disconnected from the session
command_executedA command was executed in the terminal
resizeTerminal window was resized

Each audit log entry includes:

  • User who performed the action
  • Cluster and Pod targeted
  • Command executed (if applicable)
  • IP Address of the user
  • User Agent of the browser
  • Timestamp of the action

Viewing Audit Logs

  1. Navigate to the cluster.
  2. Go to the Terminal section.
  3. Click Audit Logs to view the history of all terminal sessions and commands executed on the cluster.

Private Cluster Access

For private clusters (where the API endpoint is not publicly accessible), terminal sessions are routed through the ops-agent installed in the cluster. Ensure the ops-agent is running and connected for terminal access to work on private clusters.


Permissions

Terminal access is controlled through Atmosly's permission system. Users must have appropriate cluster access permissions to open terminal sessions.